package com.dfrz.bookstore.entry;

import java.util.Date;

/**
 * 类功能描述:
 *   图书类别类
 * @Author keyan
 * @Date 2021/5/18 18:23
 */
public class BookType {
    private int id;     //图书类别ID
    private String type;   //图书类别名称
    private Date create_time;   //创建日期
    private Date update_time;   //更新日期

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}